package com.medata.service;

import com.medata.dataObject.LogSearch;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.sql.Timestamp;

public interface LogSearchService {
    Page<LogSearch> findByLogTimeBetweenAndActionId(Timestamp startTime, Timestamp endTime,Integer actionid,Pageable pageable);

    void deleteByLogTimeBetweenAndActionId(Timestamp startTime, Timestamp endTime, Integer actionid);

    void save(LogSearch logSearch);
}
